package com.guguskins.back.service;

import com.guguskins.back.entity.GuOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guguskins.back.entity.bo.TopUpBo;
import com.guguskins.back.entity.vo.PageVo;
import com.guguskins.back.entity.vo.TopUpVo;

import java.util.Map;

/**
 * <p>
 * 充值订单表 服务类
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-05-10
 */
public interface GuOrderService extends IService<GuOrder> {

    TopUpVo cal(TopUpBo topUpBo);

    Map<String, Object> topUp(TopUpBo topUpBo);

    void callback(String billNo, String billStatus, String toJSONString);

    PageVo<GuOrder> backPage(int p, int size, String startTime, String endTime, int orderState, String searchKey);

    boolean backRefund(Long orderId);
}
